﻿using StarPizza.Model.User;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StarPizza.ViewModel.ChefSystem
{
    class ChefSystemVM : SubsystemVM
    {
        public ChefSystemVM(UserSpace userSpace, ChefPizzaCreator chefPizzaCreator)
            : base(userSpace)
        {
            this.chefPizzaCreator = chefPizzaCreator;
        }
        protected override bool ShouldBeVisible(UserMode userMode)
        {
            return userMode == UserMode.Chef;
        }

        private ChefPizzaCreator chefPizzaCreator;
        public ChefPizzaCreator ChefPizzaCreator { get { return chefPizzaCreator; } }
    }
}
